﻿.btn-add {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Add.png');
    background-position: 2px 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    color: white;
    width: 30px;
    height: 30px;
}

.btn-delete {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Delete.png');
    background-position: 2px 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.btn-save {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Save.png');
    background-position: 2px 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.textbox-search {
    font-size: 12px;
    height: 20px;
    padding: 5px 10px;
    width: 200px;
}

.btn-excel {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Excel.png');
    background-position: 2px 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.btn-search {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Search.png');
    background-position: 2px 3px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.btn-reload {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('../Images/Reload.png');
    background-position: 2px 2px;
    border: 1px solid transparent;
    border-radius: 15px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

/*--------------ToolBar-----------------*/
.toolbar-main {
    width: 100%;
    height: 100%;
    /*margin-top: 30px;*/
    padding: 4px 5px 3px;
    background: #deebfe; /* Old browsers */
    background: -moz-linear-gradient(top, #deebfe 0%, #c7e0fe 32%, #c4deff 35%, #b2d1ff 44%, #bedaff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#deebfe), color-stop(32%,#c7e0fe), color-stop(35%,#c4deff), color-stop(44%,#b2d1ff), color-stop(100%,#bedaff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #deebfe 0%,#c7e0fe 32%,#c4deff 35%,#b2d1ff 44%,#bedaff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #deebfe 0%,#c7e0fe 32%,#c4deff 35%,#b2d1ff 44%,#bedaff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #deebfe 0%,#c7e0fe 32%,#c4deff 35%,#b2d1ff 44%,#bedaff 100%); /* IE10+ */
    background: linear-gradient(to bottom, #deebfe 0%,#c7e0fe 32%,#c4deff 35%,#b2d1ff 44%,#bedaff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deebfe', endColorstr='#bedaff',GradientType=0 ); /* IE6-9 */
}
.toolbar-main-top {
    width: 100%;
    height: 100%;
    /*margin-top: 30px;*/
    padding: 4px 5px 3px;
    background:#c3ddff;
}
.bottom-toolbar {
    background:#f1eded;
}
.clr {
    clear: both;
}

/*--------------PopupUpdate-----------------*/
.ui-main {
    float: left;
    border: 1px solid #858585;
    border-radius: 2px;
    padding: 5px 5px 5px 5px;
    background: white;
    display: block;
    margin-right: 8px;
    overflow : auto;
}

    .ui-main .ui-box {
        margin: 0 5px 5px 5px;
    }

    .ui-main .ui-box-text-box {
        border: 1px solid #000000;
        border: 1px solid rgba(0,0,0,0.3);
        background: #fff;
        position: relative;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        margin-top: -1px;
        /* ReSharper disable once InvalidValue */
        background: linear-gradient(top, #fdfdfd, #efefef);
        background: -webkit-linear-gradient(top, #fdfdfd, #efefef );
        background: -moz-linear-gradient(top, #fdfdfd, #efefef );
        background: -ms-linear-gradient(top, #fdfdfd, #efefef );
        background: -o-linear-gradient(top, #fdfdfd, #efefef );
        box-shadow: inset 0 1px 0 #ffffff, 0 2px 0 #000000;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 2px 0 rgba(0,0,0,0.05);
        list-style: none;
        margin: 2px 2px 2px 2px;
        padding: 4px;
        float: left;
    }

        .ui-main .ui-box-text-box .relationlink {
            float: right;
            font-weight: bold;
            color: rgb(175, 102, 10);
            font-size: 14px;
            margin: -5px 5px 5px 0;
            cursor: pointer;
        }

    .ui-main .ui-box .relationlink {
        font-weight: bold;
        color: rgb(175, 102, 10);
        font-size: 14px;
        margin: -5px 5px 5px 0;
        cursor: pointer;
    }

.ui-box-text-box.active {
    background-color: #327dd2;
    border: 1px solid #014a9b;
}

.ui-box-text-box:hover {
    border: 1px solid #000000;
    border: 1px solid rgba(0,0,0,0.5);
    /* ReSharper disable once InvalidValue */
    background: linear-gradient(top, #f7f7f7, #e9e9e9);
    background: -webkit-linear-gradient(top, #f7f7f7, #e9e9e9);
}

    .ui-box-text-box:hover span {
        color: #000;
    }

.ui-box-text-box:focus {
    background-color: #327dd2;
    border: 1px solid #014a9b;
}

.textbox_child_text {
    width: 180px;
    font-size: 11px !important;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.text-num {
    text-align: right;
}

.textbox_child_text_ngay {
    width: 180px;
    font-size: 11px;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}
.textbox_child_text_ngay_thoigian {
    width: 180px;
    font-size: 11px;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}
.textbox_child_text_drop {
    width: 155px;
    font-size: 11px;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox-muiti {
    width: 374px;
    font-size: 11px;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.labelpopup {
    font-size: 11px;
    font-weight: bold;
    color: black;
    background: none;
}

.labelpopupnew {
    width: 100px;
    font-size: 11px;
    font-weight: bold;
    color: black;
    background: none;
}

.validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
    color: red;
}

.error-msg {
    color: Red;
    font-size: 12px;
    font-style: italic;
}

.toolbar-ui-footer {
    text-align: right;
}
/*-----------*/

.grid-materials {
    float: left;
    width: auto;
    height: 428px;
    overflow-x: auto;
    overflow-y: auto;
    padding: 8px;
    display: block;
}

.grid-materials-detail {
    margin-top: 8px;
    float: left;
    width: 949px;
    height: 428px;
    overflow-x: auto;
    overflow-y: auto;
    padding: 8px;
    display: block;
}

.text-num-order {
    width: 30px;
}

.text-num-order-1 {
    width: 100px;
}

.textbox_child_search {
    width: 180px !important;
    font-size: 11px !important;
    height: 29px;
    border: 1px solid #bad2e6;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.ui-main-order-2 {
    float: left;
    width: 943px;
    border: 1px solid #bad2e6;
    border-radius: 2px;
    padding: 5px 5px 5px 5px;
    background: white;
    display: block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.ui-main-order {
    float: left;
    width: 572px;
    border: 1px solid #bad2e6;
    border-radius: 2px;
    padding: 5px 5px 5px 5px;
    background: white;
    display: block;
    margin-right: 8px;
}

.ui-main-order-right {
    float: left;
    width: 363px;
    height: 221px;
    border: 1px solid #bad2e6;
    border-radius: 2px;
    padding: 5px 5px 5px 5px;
    background: white;
    display: block;
    margin-right: 8px;
}

.ui-main-order-right-1 {
    float: left;
    width: 363px;
    height: 250px;
    border: 1px solid #bad2e6;
    border-radius: 2px;
    padding: 5px 5px 5px 5px;
    background: white;
    display: block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.ui-main-order-grid {
    margin-top: 8px;
    width: 942px;
    height: 251px;
    max-width: 942px;
    max-height: 251px;
    overflow-x: scroll;
    overflow-y: scroll;
    border: 1px solid #bad2e6;
    background: #ababab;
    border-radius: 2px;
    /*padding: 5px 5px 5px 5px;*/
    display: block;
    margin-right: 8px;
}

.ui-main-order-grid-1 {
    margin-top: 8px;
    width: 942px;
    height: 180px;
    max-width: 942px;
    max-height: 180px;
    overflow-x: scroll;
    overflow-y: scroll;
    border: 1px solid #bad2e6;
    background: #ababab;
    border-radius: 2px;
    /*padding: 5px 5px 5px 5px;*/
    display: block;
    margin-right: 8px;
}

.ui-main-order-grid-order-detail {
    margin-top: 8px;
    width: 942px;
    height: 251px;
    max-width: 942px;
    max-height: 251px;
    overflow-x: scroll;
    overflow-y: scroll;
    border: 1px solid #bad2e6;
    background: #ababab;
    border-radius: 2px;
    /*padding: 5px 5px 5px 5px;*/
    display: block;
    margin-right: 8px;
}
.ui-total-box-main {
    margin-top:5px;
    width:auto;
    height:auto;
}
.ui-total-box-left {
    float:left;
    width:auto;
    height:auto;
    margin-right:8px;
}
.ui-total-box-right {
    float:left;
    width:auto;
    height:auto;
    color:red;
    margin-right:8px;
}
.col-main {
    width: 100%;
    /*border: 1px solid #bad2e6;*/
    margin-bottom: 8px;
}

.col-left {
    float: left;
    width: 34%;
    height: auto;
    /*border:1px solid Red;*/
}

.col-right {
    float: left;
    width: 66%;
    height: auto;
    /*border:1px solid Red;*/
}

.textbox-muiti-order {
    width: 100%;
    font-size: 11px;
    height: 50px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox_child_text-order {
    width: 370px;
    font-size: 11px !important;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox_child_text-order-1 {
    width: 100px;
    font-size: 11px !important;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox_child_text-order-2 {
    width: 264px;
    font-size: 11px !important;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox_child_text-order-4 {
    width: 166px;
    font-size: 11px !important;
    height: 23px;
    border: 1px solid #bad2e6;
    color: black;
}

.textbox-muiti-order-3 {
    width: 100%;
    font-size: 11px;
    border: 1px solid #bad2e6;
    color: black;
}

.relationlink-1 {
    font-weight: bold;
    color: rgb(175, 102, 10) !important;
    font-size: 14px;
    margin-left: -23px;
    cursor: pointer;
}

.div-titile-order {
    margin-bottom: 20px !important;
    text-align: center !important;
    color: black !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.div-titile-order-customer-name-left {
    float: left;
    width: 148px;
    height: 20px;
    margin-bottom: 8px;
}

.div-titile-order-customer-name-right {
    float: left;
    width: 763px;
    height: 20px;
    color: red;
    font-style: italic;
    margin-bottom: 8px;
}

.div-bttn {
    margin-top: 8px;
}

.rd {
    margin-left: 8px !important;
}
.tablelienhe {

}
.divlienhe{
    float:left;
}
/*Process-Template*/
.divWaiting{
    position: absolute;
    background-color: #FAFAFA;
    z-index: 2147483647 !important;
    opacity: 0.8;
    overflow: hidden;
    text-align: center; top: 0; left: 0;
    height: 100%;
    width: 100%;
    padding-top:20%;
} 
.process-template-text {
    font-family: Georgia; 
    font-size: medium; 
    color:black;
}
/*--------Sys-Gen--------*/
.main {
   margin-top:20px;
   width:1000px;
}
.main-a {
   margin-top:10px;
   width:1000px;
}
.lable {
    margin-top:3px;
    float:left;
    width:130px;
    font-weight:bold;
}
.control {
    float:left;
    width:250px;
}
.control-text {
    float:left;
    width:250px;
}
.control-ddl {
    margin-top:5px;
    float:left;
    width:250px;
    height:25px;
}
.lable-a {
    margin-top:10px;
    float:left;
    width:130px;
    font-weight:bold;
}
.button-main {
  margin-top:30px;
  width:300px;
  margin-left:100px;
}
.list-box {
    margin-top:10px;
    float:left;
}
.list-box-control {
    width:351px;
    height:300px !important;
}
.titile {
    margin-top:40px;
    height:30px;
    color:white;
    padding-top:5px;
    padding-left:8px;
    font-weight:bold;
    background-color: rgb(0, 140, 186);
    border-color: rgb(8, 8, 8);
}
.Check1{
    background-color: #8DE8FF;
    border: 1px solid #858585;
    width: 99%;
}
.ChildCheck1{
    padding-top: 5px;
}
.Check2{
    background-color: #8DE8FF;
    border: 1px solid #858585;
    width: 99%;
}
.ChildCheck2{
    padding-top: 5px;
}
.Check3{
    background-color: #8DE8FF;
    border: 1px solid #858585;
    width: 99%;
}
.ChildCheck3{
    padding-top: 5px;
}
.customClass
{
    z-index: 9999 !important;
}
.editclick
{
    display:none !important;
}
/*---------------Tab-Panel---------------*/
.Initial
  {
    display: block;
    padding: 4px 18px 4px 18px;
    float: left;
    background: url("../Images/InitialImage.png") no-repeat right top;
    color: Black;
    font-weight: bold;
  }
  .Initial:hover
  {
    color: White;
    background: url("../Images/SelectedButton.png") no-repeat right top;
  }
  .Clicked
  {
    float: left;
    display: block;
    background: url("../Images/SelectedButton.png") no-repeat right top;
    padding: 4px 18px 4px 18px;
    color: Black;
    font-weight: bold;
    color: White;
  }
  /*------------Tabs-------*/
.opentabs {
    display: block;
}
.removetabs {
    display: none !important;
}
.close {
    color:#000 !important;
    font-size:12px !important;
    margin-right:8px;
}
.tabs-title {
 background:none !important;
}
.heightmenu{
    height: 344px;
    overflow: auto;
    min-height: 100px;
}
.delete{
    float: right;
    display: none;
    height:10px;
}
.browdelete:hover .delete,
.browdelete:focus .delete{
    display: block;
}
.float{
    text-align: right;
    width: 150px
}